I was just thinking about OP's original request to manage the multiline sql into source code.
I normally keep sql in code, even if I understand that somebody prefers to store in external files, because in turn, sql in code means loaded in memory while program runs and this is kinda senseless.
With the downside, that if you HAVE to change your SQL-Statement (for whatever reason), you have to recompile/redistribute
I like using json for that or xml, having query name as key and sql text as content. That said I definitely do not split sql into separate lines, but this is just my personal way of seeing the world. All in one line (sometimes is very long!).
Yep, for me too: Once a Statement is written, it ends up in one single line, because that's what it is in the end