Strip whitespace and comments