Direct comment constructors

Direct comment constructors use an XML-like notation to create comment nodes.

Syntax

Read syntax diagramSkip visual syntax diagram<!--direct-comment-contents -->
direct-comment-contents
A series of characters that specify the contents of the comment. The contents of a comment cannot contain two consecutive hyphens or end with a hyphen.

Example

The following constructor creates a comment node:
<!-- This is an XML comment. -->