Describes how comments for a language work.

interface CommentRule {
    blockComment?: CharacterPair;
    lineComment?: string;
}

Properties

blockComment?: CharacterPair

The block comment character pair, like /* block comment */

lineComment?: string

The line comment token, like // this is a comment