The correct way to punctuate the sentences is:
B. The dealer said, "Yes, she is here, madam. Whether she will see you or not, I do not know."
This option correctly uses quotation marks to indicate the spoken words and includes a comma before the opening quotation. It also correctly places the period inside the closing quotation marks.