Enhance substitute task

Add additional symbol to insert "generated file" comment. This makes
it possible to use the task with other kinds of files, e.g. XML files
that don't like the C-style comments.

Change-Id: I632842ed919b47f684e2530ca781ebccb278a867