Hi, "bone pain" is certainly a well known thing, and there can be a variety of different causes.
"My doctor thinks is muscular..."
With your medical history, it seems far more reasonable to first consider immune system related causes. What was your recent CBC like?
"The hurt when I am standing, sitting, and even laying down"
That sounds like bone pain. For example:
"Bone pain is extreme tenderness, aching, or other discomfort in one or more bones. It differs from muscle and joint pain because it’s present whether you’re moving or not."
If we scroll through that page, we come to: "If an infection originates in or spreads to the bones, it can cause a serious condition known as osteomyelitis. This infection of the bone can kill bone cells and cause bone pain."
That's rare but it's possible. If your WBC has been high, is it because of high neutrophils or high lymphocytes?
Btw, do you have bad allergies?
"I have had this pain a few months ago as well."
Since it went away and came back, that seems unlike a cracked rib - especially since you didn't have any injury. But a cracked rib does make it difficult to find any good position without pain - so once again we can look at some source of bone pain, but that is not from a cracked rib.
Do you wear a bra and is your bra very uncomfortable because of these symptoms? Are you in a warm locale?
I finally concluded my bras were causing my discomfort this year. When my leg lymphedema moved to my breasts I had to buy new bras., most of which today have latex foam/gel foam in them-not like the old cotton/nylon/polyester unpadded bras! Why do manufacturers torture us like this?!
When I was shopping for a mattress and kept reading consumer comments about how hot the new foam mattresses are, I decided that was my bra issue also.
I was sweating terribly in these new bras and alot of pain (front left rib area) and itching (back.) Very painful situation and I kept buying different bras thinking size was the issue.
Uncontrollable itching only on my back. I have allergies to metal and latex. I started lining the back of the bra with a cotton washcloth so the metal/sweat did not touch me. Immediate relief.
I also had sharp rib pain on left side. I experimented with a cotton washcloth tucked up under the elastic and padding, and that helped some.
I want to go to a local store and buy a cheap bra that is not over-engineered!
Best bras used to be sold by KMart but they went out of business. I can catalog shop for the right bra but they ask for ~$50!
I think this stems from noticeable cotton shortages and cheap foreign latex.