Well, before a pick attack there is a "too short" release usually, and you can see the pick attack. So I either removed the pick attack or made it very low in volume and brought the release of the previous note much closer or "hugging" the following note when I deleted the pick. And I should say I did that with a clean guitar recorded by DI. And you must be careful not to do a too perfect job otherwise there is no pick attack at all. But then regarding the EQ and the fx you are a free man!
In other words, a guitar solo should look more like that :
==============================
Then like that :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
But when a guitarist makes too loud pick attacks during leads, I am not 100% why is that but I can say that this guitarist is not the Master of his/her instrument. I also think that unless you are a Master of your guitar you should record in clean in DI.
The Melodyne trick should only be used when the pick totally gets you insane. In my case it doesn't take much. And I will admit that if I have the choice between hearing gross pick attacks with an EQ and FX who are not orgasmic or a "too perfected through melodyne" lead with nifty EQ and FX, I would choose the last one.
Melodyne, with a clean DI guitar can also be used to remove those sloppy power chord changes that creates a big SQUEEEEEEE that annoys the hell out of me.