Really? I am an SF dweller, grew up in NJ, and an occasional NYC visitor, and always thought the opposite. In SF you seem to have to sit down and eat (i.e. with waiter) to get anything decent, especially vegetables.
The only places you can get burritos are really the Mission and Redwood City. That is one of the main "everyday eating" foods that is made well. They are certainly good, but not something you want to eat super often. There aren't any vegetables to speak of in burritos or tacos.
SOMA, where most startups are, mostly has terrible food (at the everyday eating level), although it has gotten better in the last 5 years now that more people live there.
In NYC you can reliably get good pizza and bagels -- and the pizza is way cheaper than anything in SF. In SF the pizza is generally horrible.
If you compare cheaper restaurants (i.e. with waiter), then it's possible that SF has NY beat (?). But if you are just talking about walking into a place and getting food by yourself, then I think the pizza and bagels of NY has SF easily beat. SF is really many neighborhoods, and the Mission is definitely better in terms of food, but compared with SOMA it seems like there is no contest.
The floor in SF also seems to be really low... if you just walk into a random pizza or (surprisingly) Chinese place, you are pretty likely to be disappointed.