Does the comma go inside the quotation marks?

Yes, commas typically go inside quotation marks in a sentence in American English.

Commas with quotation marks in American English examples
Critics said the book was “gripping,” “powerfully written,” and “emotional.”

“Don’t go without me,” Brett said.

Note, though, that when there’s an introductory phrase before a quotation, the comma goes before the opening quotation marks.

Brett said, “Don’t go without me.”

In British English, commas typically go outside of quotation marks (and single quotation marks are often used in place of double).

Commas with quotation marks in British English example
Critics said the book was ‘gripping’, ‘powerfully written’, and ‘emotional’.

‘Don’t go without me’, Brett said.

Use QuillBot’s Grammar Checker to make sure you’re using punctuation with quotation marks correctly.