The issue occurs because the content of the template is compressed to only one line, and the comment is interfering with the parsing.
This is expected and can be avoided using the other comments syntax. Please have in mind that this is not considered as a bug the // symbols are interfering with the parsing:
I hope this is helpful.
Telerik by Progress