If your concern is about the lack of a clear migration path, Obsidian vaults are just folders with markdown files, which can be used with absolutely anything, you can literally use them in Emacs or VSCode if you want. The most popular PDF annotation plugin is AGPL-3 licensed and its format is also transparent so you can migrate to something else.