So I had this problem for a while and kinda avoided it by placing my pc far away from my audio interface/guitar cables when recording. But now I decided to finally address the issue, was thinking about either (maybe both?):
a) Swapping pc power supply for something with better components (not sure if it will help, and how much good power supplies that dont cause much electric noise cost).
b) Buying DI box and using balanced cable out of it.
Anyone who dealt with this problem, what do you think is the optimal solution in this situation?