templates: filter out C-style comments.

This is a dead simple solution to #283. I grabbed the regex from http://stackoverflow.com/a/12682896/105571

Not set on getting this merged, but it's an example of a minimally invasive way to solve this.


Fixes #283