fixed bugs in "trimComment()":
fixed bugs in "trimComment()":

- inside a comment, "#" & "-" must be blanked, too!
- string are enclosed by matching quotes, only, i.e.,
   "..." and '...', not "...' or '..."
- avoid reading beyond the end of the string/buffer
- improved readability of the code (at least for me ;-)

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb