Explanation: This sentence is a correctly formatted report of spoken words. The comma is placed correctly inside the quotation marks before the attribution. The use of quotation marks is accurate.
Answer: The sentence is grammatically correct.