Detect incorrect format, ignore blank lines and comments