I agree, might not be allowable to code, but, I sure wouldnt want a window above my cook surface. That window would be covered with grease, and food splatters, etc. In my mind, its a terrible idea. Can you move your sink to that area, if you really need to have a window there, and then move the stove elsewhere.
Q