Explanation: This sentence is a correct example of reported speech. The comma is placed correctly inside the quotation marks, separating the quote from the attribution. The use of quotation marks is accurate.
Answer: The sentence is grammatically correct.