Handle comments and whitespace in default-versions.txt.