Strip comments/emtpy lines before parsing.