You can eat a very unhealthy strict vegan diet, made of pasta and canned tomatoes and lots of fizzy drinks and fries and tacos...
Not sure if you're being sarcastic, but all canned fruit/vegetables are insanely packed with sugar and salt.
So yes. They're bad for you. Granola is also bad for you. Nuts contain a lot of fat. Kale is bad for your thyroids. And so on.
Of course, make sure you drink enough non-sugary, non-alcoholic liquids with your salt. But people automatically get thirsty on salt anyway---so no need for advice.