Studies have shown that urban plants are no less safe to eat than those found outside of cities. That is to say you can probably eat the weeds from your urban garden so long as they aren't regularly urinated on by the neighborhood dogs.