org.w3c.dom.Document.createComment
method
public createComment(data as String) as Comment
Description

Creates a comment node.

Parameters
  • data Comment content.
Returns

New comment node.

Example
comment = document.createComment("generated")