ENH: ignoring comment lines and empty lines in CSV files

closes #2685 
closes #4466 

would it be too much trouble to put this in a separate pr with a test? if so can you add a test for this issue in this pr? you can use a really simple table, doesn't have to be something from the wild wild web