FacetWP – force-remove the fwp-loop HTML comment tag

// The fwp-loop HTML comment is used in FacetWP's query- and loop detection, to add the 'facetwp-template' class to its parent HTML element.
// Only force-remove this HTML comment if you are adding the 'facetwp-template' class manually to a post loop container element.

add_action( 'init', function() {
    remove_action( 'loop_start', [ FWP()->display, 'add_template_tag' ] );
    remove_action( 'loop_no_results', [ FWP()->display, 'add_template_tag' ] );
}, 20 );