I've done both - just throw them in the washer and use a lingerie bag. They don't fray much on gentle.
I often wash mine with my regular laundry rather than a large amount of FQs alone. They seem to fray less if there are no other stringy things in the load.