You could use the
flag and set <amt> to something ridiculously high so that it will reject and not relay all transactions. It will still keep the blocks but the mempool should be empty. It may also not relay any of your transactions though.
I do not want to download and parse them.
I want my Bitcoin Core to ignore messages "inv" with tag "transaction"
PS. I do not relay any transactions because of parameter
-maxconnections=1