I do the following:
---
KEYs: VALUEs for the template
---
<%_* tR += "" _%>
---
KEYs: VALUEs for the new note based on the template
---
CONTENT
The <%_* tR += "" _%>
deletes everything collected until that point of execution.
Nicely formatted and easier to write.