II tried a capacitor but it seems to muddy the sound.
A cap of which value?
IME and IMO, some fine tuning is needed here: such a capacitor adds itself to other capacitive elements - like the cable between guitar and amp. And tts action is balanced or not by other factors - pots resistance but also coupling caps in the effect(s) and amp(s) used, not to mention the peaks and dips characterizing the louspeaker(s) played...
If the overall stray capacitance added in the guitar is too high, yes, it will sound muddy. Conversely, it will sound nice if it's properly tuned (for example: if it aligns the resonant peak of a pickup with a pleasing peak due to the loudspeaker).
In the early 80's, Pete Willis (Def Leppard) had something like a 2,2 nF cap in his Hamer Explorer: it worked as a mid enhancer without sounding muddy because he plugged in bright Marshall amps with low value coupling caps.
I have a 1nF capacitor in my main Strat, to emulate a warm Hendrix and/or hot SC tone with low inductance single coils. Not only it doesn't sound muddy but it works like a charm... with the rest of my gear.
BUT I had to try various caps to achieve that (and to measure capacitance as well as resonant peaks but that's another story since I know that most players don't have access to lab gear).
For the record, an average guitar cable measures 100pF to 150pF per meter. Plugging a too bright PG through 6m or 9m of cable might suffice to tune it nicely - and if the guitar is usually plugged through 3m of cable, an added cap of 680pF might suffice too. There's no need to overdo it, although the guitar might also require a higher or lower capacitance than this. Only repeated experiments can tell what is the "proper" stray capacitance to add for a given guitar and rig considered as too bright (same things with amps or effects: I do trials and errors process when it comes to adapt a drive circuit to a bright loudspeaker, for instance. Done this a few days ago with a Fender Hot Rod...).
BTW, Seymour was not the only one to evoke added caps back in the days. Bill Lawrence (RIP) was recommending low capacitance wires + a cap on a push pull to emulate the warming action of coily cables.
