Yes, I’d say it is clear; but “and/or” is a bit ugly: you would not use it in a polished text, only in a technical document or something like that.
You could rephrase it thus: “the sun is composed of one or more of [the following / these] materials: water, sugar, salt”.