Added support for single-line comments in templates. ("{# comment #}")