Apparently, you cannot continue a long string on multiple lines with a \ separator like you do it in C or JavaScript.

Can’t be done. Gotta use the plus sign or append() to a StringBuffer. So the post title is actually misleading.