In HTML and XML at least, spelling errors aren't identified in <!-- comments -->. The code is not identifying TokenTypes.MARKUP_COMMENT as a comment token type. Might also consider TokenTypes.MARKUP_CDATA?
COMMENT_MARKUP should probably be omitted while we're at it, since it currently causes the br in <br> to be underlined as a spelling error when in e.g. Javadoc comments.
In HTML and XML at least, spelling errors aren't identified in
<!-- comments -->. The code is not identifyingTokenTypes.MARKUP_COMMENTas a comment token type. Might also considerTokenTypes.MARKUP_CDATA?COMMENT_MARKUPshould probably be omitted while we're at it, since it currently causes thebrin<br>to be underlined as a spelling error when in e.g. Javadoc comments.