Many style manuals say it should go inside the quote, but for single words like that I put them outside. The key for me is whether the comma belongs as part of the structure of the text inside the quotes: if it does, then put it inside. If the comma belongs to the structure of the outside sentence, however, I'd put it outside.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.