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