Fixed maketool.

Added support for comments.
Added support for backslash at the end of the line.