We do have https://github.com/eile/CMake#readme and the comment: 

The entries are encoded into a target which will recreate the file on invocation. Since only the '#-> ' lines are parsed, everything else is ignored. Since the file is under git control, there should be no risk of data loss.

What more do you suggest?