ENH: ignoring comment lines and empty lines in CSV files

closes #4466 

I think you forgot this one with your latest commit