</li>
    </ul>


    <p><a id="lexer.fold_line_comments"></a></p>

    <h3><code>lexer.fold_line_comments</code> (prefix)</h3>

    <p>Returns a fold function (to be passed to <code>lexer.add_fold_point()</code>) that folds
    consecutive line comments that start with string <em>prefix</em>.</p>

    <p>Parameters:</p>

    <ul>
    <li><code>prefix</code>: The prefix string defining a line comment.</li>
    </ul>


    <p>Usage:</p>

    <ul>
    <li><code>lex:add_fold_point(lexer.COMMENT, '--',
    lexe