Fix SQL logging removes rest part after line comment