I feel like I have seen commas both inside and outside of quotes in major publications.
In America, commas go inside the quotation mark (except as stated below, when the question is not part of the quote, it goes outside the quotation mark).
However, in the UK, commas, question marks, etc. all go outside the quotation marks. As always, you need to know your audience!