add support for comments

From '#' to end-of-line will be ignored.