Provide methods for manipulating comment text. See these methods in the Text object.
Provides the text content of the element. Due to the nature of this element, the value of the text property is identical to the values of the inner
Provides the character count of the comment data. See Text.length .
Provides the text content of the comment. See Text.data .
The comment object reflects the ! element in an HTML document. This object is not a genuine element in the context of the W3C DOM abstract model.