Prevent IndexOutOfBoundsException

A query like "SELECT 1 FROM DUAL; -- some comment" causes an exception as Utils.renderAndBind is explicitly looking for the newline character, which never comes.
Normally, and I think according to the standard, a single line comment should be terminated by a newline. However, it should not be harmful to tolerate this case.

... the commit message of the second commit makes no sense... however, the check is reasonable as the i = sqlChars.length if we encountered the end of the string instead of a newline...