remove comments from template, refs #31