The line of dialogue belongs to the character; the verb is the writer sticking his nose in.
Elmore LeonardNever use a verb other than "said" to carry dialogue... I once noticed Mary McCarthy ending a line of dialogue with "she asseverated" and had to stop reading and go to the dictionary.
Elmore Leonard