no, comments are not removed from JS https://plone.org/documentation/manual/theme-reference/page/css/resource-registries/referencemanual-all-pages