Steps to reproduce:
- Open the code with multi-line template transclusion and put cursor right after template name (e. g. {{Example).
- Add at least one newline (important!)
- Add a comment
The rest of the template will be highlighted as a plain code.
Example: ru:(619) Триберга
If comment goes on the same line with template start, the problem does not occurs: