
## create_comment {#str}

Creates a Comment node given the specified string.


### Returns 


The [`Comment`](/html/python-net/aspose.html.dom/comment).


```python
def create_comment(self, data):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| data | str | The comment data. |



### See Also
* module [`aspose.html.dom.svg`](../../)
* class [`Comment`](/html/python-net/aspose.html.dom/comment)
* class [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument)
