When VASP_GET_TAG is called to extract the value for a tag in the INCAR file it also takes the comment following the value on the same line and ignores the comment marker starting the comment. This results in a program crash when running calculations with INCAR files that have comment fields on the same line as the parameter.