add parse only comment in API
Merge pull request #1555 from huili2/comment_API_parseonly

add parse only comment in API