I've put together what you might call an 'Advanced Comment Finding' script, based on the Targeted Comment Finding template and standard passive template. You can find it attached, and I'd be glad to get/address any feedback people might have.
It's based on this RegEx:
http://regex101.com/r/dC9kW6I'd
like to get people's thoughts on it. As you can see it picks up the
first 12 variations but not the 13th, which I think I'm actually
perfectly fine with. If a HTML comment exists purely to house JavaScript
then I don't think that's a major security concern. Developers have
been doing so for a long time and they're not "real" comments.
The RegEx I'm proposing was grown from:
http://ostermiller.org/findhtmlcomment.html