How to delete paragraph when uninstalling the module?
Add this to the relevant config file(s) in config/install:

dependencies:
  enforced:
    module:
      - custom_module


That will force the config item(s) to be removed when the module is uninstalled.