It's virtually impossible to answer this question, and here is why. The punctuation in Shakespeare's plays changes from edition to edition. This is not a modern invention--where we have different versions of the same play printed during Shakespeare's lifetime, the punctuation is drastically different. Very probably, the typesetters of the time considered the punctuation to be a minor issue and devoted as little thought to it as you do when you are choosing which emoticon to put in your text message.
Since then, scholarly editors have got hold of the plays and replaced a lot of the punctuation which originally appeared in them with punctuation of their own choosing. So, although the First Folio has
How weary, stale, flat, and vnprofitable
Seemes to me all the vses of this world?
Fie on't?
most editors since would replace those question marks with something else, probably exclamation points.
NO speeck marks
Hamlet, the character in the play asks this question of himself. The play does not ask the question.
William Shakespeare's Hamlet
Shakespeare's Hamlet, Act III Scene I.
Hamlet is Shakespeare's most-quoted play by a large margin.
The sport most alluded to in Shakespeare's work is bowls. Shakespeare was a bowler.
If I'm not mistaken Shakespeare's favorite role to play was the ghost in the play Hamlet.
The quote does not appear in any Shakespeare play.
Shakespeare wrote lots of plays, most of which were at least partly his.
Shakespeare wrote many plays, but your question doesn't give the name of the play.
No it is not
Romeo and Juliet