Adding gitignore resource file and ignoring uncommented lines in validation.