Triggered by a COMMENT_OPEN token ([!--). Consumes all tokens
until a COMMENT_CLOSE (--]) token is found, then returns an
empty elements array (discarding the comment content).
Comments may span across newlines. However, if an EOF is reached
before the closing marker, the parse fails.
Inline rule for parsing
[!-- comment --]syntax.Triggered by a
COMMENT_OPENtoken ([!--). Consumes all tokens until aCOMMENT_CLOSE(--]) token is found, then returns an empty elements array (discarding the comment content).Comments may span across newlines. However, if an EOF is reached before the closing marker, the parse fails.