A real boyfriend could want to marry later
Maybe you want to be married but there's plenty of people who exist who aren't bothered about marriage. However, yes, marriages are legal contracts so I agree that the details of that contract could have some impact.
Not sharing that sooner is just setting up for upset and heartbreak later. I'm not saying you have to put it in your bio, but definitely something to be discussed on or before the first date IMO