Adding comments for headers and footers in template fragments.