[BLOCK QUOTE].

Aha, excellent point 💡
I think it is fine to always apply all regexes (or just apply the HTML regexes on TS files). If we wanted to be even more sophisticated, we could look for an `@Component` annotation, but looking for a `template` property sounds a bit too much. (I won't stop you if you want to give it a shot, but it will complicate things quite a bit.)

<sub>**Fun fact** (not pragmatically relevant, but...): HTML comments are [kind of respected][1] in JavaScript (for legacy reasons).</sub>

[1]: [URL]