# phpman > man > XML::DOM::Comment

## NAME
    [XML::DOM::Comment](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AComment/markdown) - An XML comment in [XML::DOM](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM/markdown)

## DESCRIPTION
    [XML::DOM::Comment](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AComment/markdown) extends [XML::DOM::CharacterData](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3ACharacterData/markdown) which extends [XML::DOM::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3ANode/markdown).

    This node represents the content of a comment, i.e., all the characters between the starting
    '<!--' and ending '-->'. Note that this is the definition of a comment in XML, and, in practice,
    HTML, although some HTML tools may implement the full SGML comment structure.

