the_content() seems to block my ACF-code

Just for information, this is a bug in WP and autop. You can view the ticket here and it does not look like it will be fixed any time soon. The work around is to start your multiline comment with <!-- and end it with <!-- -->