Way to hide comments from view source in publish?

What I’m trying to do

I know that using html comments or %% works in obsidian to hide the content. It won’t be visible in www publish. But I would also like that content to not be visible in “view source” by site visitors or search engines. Is there any way to do that?

Things I have tried

Used all the types of comments I know…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.