wdpr
    Preparing search index...

    Module parser/rules/block/comment

    Block rule for Wikidot comments: [!-- ... --].

    Comments may span multiple lines and are completely stripped from the rendered output. The parser consumes all tokens from COMMENT_OPEN ([!--) through the matching COMMENT_CLOSE (--]), inclusive, plus any trailing newline.

    If the closing --] is never found (unterminated comment), the rule fails and tokens are left for other rules to handle.

    This rule requires line start so that inline comments appearing mid-line are handled by a separate inline rule instead.

    Variables

    blockCommentRule