added ply based parsing of comments