ENH: ignoring comment lines and empty lines in CSV files

closes #4466 

Oops thanks for the catch, I think that was a rebasing problem