code: public List<QueryQuestionComment> listQueryQuestionComments(Panel panel, PanelStamp stamp, QueryPage queryPage, Query query, QueryQuestionComment parentComment, User user, boolean onlyRootComments) {
      if (stamp == null) {
        stamp = panel.getCurrentStamp();
      }
      
      return queryQuestionCommentDAO.list(queryPage, stamp, query, panel.getRootFolder(), parentComment, onlyRootComments, user, Boolean.FALSE);
    }
docs: Lists not archived comments by given parameters.
  
  @param panel panel. Required
  @param stamp filter by panel stamp. Defaults to panel's current stamp
  @param queryPage filter by comment's query page. Ignored if null
  @param query filter by query. Ignored if null
  @param parentComment filter by parent comment. Ignored if null
  @param user filter by user. Ignored if null.
  @param onlyRootComments return only root comments.
  @return a list of comments