Checked it: IntelliJ does neither add or remove spaces at the beginning of inline-comments. 
It does however format the ftl file in the way you are seeing it right now. Didn't notice it before (although I also went through it manually one time to fix the formatting)