Update YamlParser.java

Fix comments