Stop WordPress From Removing HTML Comments In Content
This is due to a very old WordPress HTML Comment bug, that was never fully fixed. You may use Gutenberg, it handles HTML comments better. Also, This Post suggests that placing a beginning HTML comment TAG, just before the ending HTML comment tag works. Like this: <!– some HTML Comment <!– –> This is valid … Read more