Documentation of the setting CMS / AllowSigning says:
Allow signing with S/MIME certificates If false, then Kleopatra will not offer functionality for creating signatures with S/MIME certificates. Default: true
Current behaviour: Signing with S/MIME is
- deactivated (grayed out) in Notepad
- still possible in Sign/Encrypt