ENH: ignoring comment lines and empty lines in CSV files

closes #4466 

My bad, I'll amend to fix this