Add Instance Parameter for all Families in Pipe Accesory Category

I’m looking to select all Pipe Accessories, filter them using Comments, then applying a shared instance parameter to all the remaining families at once without having to open each individual family. I have my elements filtered already, but how would I add the parameter?