ANSWER:
You can fast on the day of your surgery (providing your doctors approve of this) as injections won’t effect your fast as long as you don’t swallow anything. If they give you glucose or anything to give you energy through intra veinous drips, this will break your fast.