Prevent an IndexOutOfBoundsException if the SQL-String ends with a single line comment without a newline.
i could still have been out of bounds if there is only a single newline character(Linux) and not two(Windows).
Merge pull request #2251 from joe776/master

[#2252] ArrayIndexOutOfBoundsException, when rendering plain SQL that is terminated by a comment