Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Can I marry a british citizen while I am in UK on standard visitor visa though rules say I can't?
No you cannot. You need to apply for a Marriage Visa. A Visit Visa is for visits.