magento2 – Magento 2 remove subtotal from Invoice PDF

I’ve been trying to remove subtotal from the invoice pdf.

I have override vendor/magento/module-sales/etc/pdf.xml from my custom module but didn’t work. I have just commented on the subtoal. but it not working.

Does anyone have an idea how to do it in a perfect and standard way?