To deactivate the custom fields, please follow the below mentioned steps:
Step 1: Go to Document settings
Step 2: Click on Add custom fields
Step 3: Disable the toggle button, Show in PDF & Active >> Update settings.