somedata data blah \ continuation of previous line \ another continuation of previous line \ stand alone line stand alone line multiple line \ continuation of multiple line #### while() { if (multiple line) { #somehow look ahead and collapese } else { #its a single line so just process } }