There isn’t a good way, unfortunately. I’ve created issue #694999 to address this issue and I hope to get it prioritised.
At the moment, the best ways are:
1. If you’re on SCA, you or a developer will need to carefully remove the modules from your distro and the modules were they appear. This will stop the code from running.
2. If you’re on SC or not very technical then I think the only thing you can do is use CSS to hide them after they load, which you can inject using the SMTs. This isn’t very good and, for the sake of performance, you should remove fields from the relevant field sets or simply rename them in order to minimise the amount of the data that is used.