You can write (to) John in care of ... -- For this, why it is optional to have "to"? -- Why not? There are a number of cases of optional prepositions in English: I wasn't certain (of) what to do; I'll see you (on) Tuesday; (At) What time will the meeting start?
What feature did the painter leave off/out (of) his picture?