There’s gold in them thar sidewalk cracks!

A Queens man has discovered enough hidden treasure — bits of diamonds, rubies, platinum and gold — on the gritty sidewalks of Midtown’s Diamond District to make a living.

“The streets of 47th Street are literally paved with gold,” a giddy Raffi Stepanian, 43, of Whitestone told The Post last week when a reporter discovered him on all fours — armed with tweezers and a butter knife — digging through cracks in the sidewalk in a driving rainstorm. . .