line_clean function

Filter out comments and empty lines