Actually such problems are not able to be solved. The tags are just normal text regardless which meaning they have for you. The same for footnotes: by markdown syntax they are allowed to appear in the text wherever you want. That problem however is easy solved by placing them under a h1 or h2 header at the bottom of text. I personally dislike to place tags which are related to whole note at the bottom and so i decided to place them directly under the title of the note what comes with the advantage to see them immediately on opening the note without scrolling down. Furthermore it cooresondends with the usage of tagging headers of smaller levels: I think nobody would tag the section of a h3 at end of section but intuitively directly under header. I know that this is not satisfying for you. Also i had to learn reluctantly what a bearish editor means. But once learned it is easy to live with that
It also comes with disadvantage though that the note preview (in the notes list) will show the tags, making it not possible to start the note with a useful 1 or 2 sentences to be shown in the note preview
I did not think of this and is not so bad, even though it has to be added manually, because at least it does not have to be folded manually. Thank you