[stex mode] Add lineComment property

Closes #2851