Good. You have the options you are asking for - Busy & Away. They block invites.

Even if you choose to not use them - you can ignore Notifications and resize or remove it from your UI.
You can only be spammed with new invites as quickly as you deny them - let them tick down or use the tools already provided in-game; or as it can be consider harassment - send a GM a harassment report.