That's a valid and interesting use case.
You can easily turn off all indentation with a simple property assignment. Here's where I'm doing this for assembly language:
That said, you want very specific lines within an already assembled block of code to not indent, while allowing all other lines to indent. I can't think of any clean ways of doing this. The active code is here:
It's not pretty, but might I suggest this approach:
1) When generating a long string literal, prefix each non-indenting line with a special character. The null character '\0' would probably be the best choice.
2) Allow indenting to happen as normal.
3) On the final generated program, run this regexp: .replace(/^\s+\0/g, '') This will strip all the unwanted indents from those lines.
--