XmlNode.IsComment (gb.xml)

Property Read IsComment As Boolean

This property returns TRUE if the current node is a comment, otherwise it returns FALSE .