Acually we have no combination like "on the sentence". So the true choice is when using the prefix In before sentence. However this will be distinct from the second combination i.e. "on the context" since it used as the same of "in the context" which both have identically a common meaning unless the use of context being meant outline then you've got to use "on" before it!
NOT a teacher!
Student or Learner