[stex mode] Sanitize comment parsing
[stex mode] Set to two-space indentation
[stex mode] Reset tokenizer after blank line

This prevents a stray $ from setting the whole rest of
the document to math mode.

Closes #2928