implemented comment block in template parser