New xt function to check and add comment types.  Required for Quality extension package
Merge pull request #1780 from andersdd/add_comment_func

New xt function to check and add comment types.