Added GetCommentsFlat function