Comshow.php already takes into consideration $CatPerms for if the person has viewing permissions for the category they can view the comments. If you do not want them to view the comments then mark that they can not view the categories in Admin => Edit Categories