Modify gettoken() to accept comments

Starting with a ("#")