Help adjust code to hide course comments on certain templates

Hi, someone on your live support had given me some code to create a mu-plugin to hide comments on the course_archive-template-default. I would also like to hide these comments on the courses-dashboard. There is a problem with the links on the comments that we have not been able to fix so I would just like to hide them.

I would appreciate if you could provide the additional code needed to add the additional template. The code that is working for hiding the course_archive-template-default is

<?php
function my_hide_course_comments() {
?>
<style>

.course_archive-template-default .postComments {display:none;}

</style>
<?php
}
add_action('wp_footer', 'my_hide_course_comments');