which line of dialogue uses correct punctuating

"Don't be silly, said Jill."
"But there's a no trespassing sign", Maria argued.
No one takes those seriously, said Jill.
"I'm not sure it's a good idea to be here ,"said Maria

"I'm not sure it's a good idea to be here," said Maria.

The line of dialogue that uses correct punctuating is:

"I'm not sure it's a good idea to be here," said Maria.

The correct punctuating in the given options is:

"I'm not sure it's a good idea to be here," said Maria.

To correctly punctuate dialogue, we use quotation marks to enclose the spoken words and place the punctuation marks (such as periods, commas, question marks, or exclamation marks) inside the quotation marks. Additionally, we use a comma before the closing quotation marks when using a dialogue tag (e.g., said Maria).