The comma should be placed inside the quotation marks.
Follow conventions when using quotation marks with commas (39h), colons (44d), and other punctuation (43f). Always use quotation marks in pairs, and follow the guidelines of your documentation style for block quotations (43b). Use quotation marks for titles of short works (43c), but use italics for titles of long works (47a).