English/Writing-Structure-13-ID

Which of these sentences uses the comma correctly?

o  “I am tired,” he muttered.
o  “I am tired” he, muttered.
o  “I am tired” he muttered.
o  “I am tired”, he muttered.