COMMENT | NN n/a IE 4 DOM 1
The COMMENT object reflects the ! element. Most properties are not available or aren't fully functional in the Macintosh version. Despite the presence of an id property, you cannot set an ID attribute in the HTML for a comment element.
HTML Equivalent
    <!--comment text-->
Object Model Reference
IE | [window.]document.all.tags("!")[i]

text | NN n/a IE 4 DOM 1
| Read/Write
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 innerHTML and outerHTML properties. Changes to this property do not affect the text of the comment as viewed in the browser's source code version of the document. This property is not available in IE 4/Macintosh.
Example
    document.all.tags("!")[4].text = "Replaced comment, but no one will know."
Value String.
Default | None.