I can think of a couple ways:
* Strategic line breaks and comments
* Helper functions to generate the strings

I'll see how the latter looks, but if anyone has a preference let me know.