Support comments in scripts

Lines starting with '#' get ignored.