I cannot say about the fuel mileage on a 340 Exciter, but I have had many 338 YAMAHA'S and they have all been very good on fuel.
Though the 340 Exciter engine is a wee bit different in that it is rated at 38 hp (That is what I was told though and have no first hand knowledge, yet.) with a single carb and pipe which is more than any of the others and may affect mileage a little.
That said, I think the difference would be negligible, probably a wee better than a 433, which isn't bad, and nothing I would worry about cuz your biggest enemy there, provided correct-carb-tuning, the rest of the drive-train correct and set-up, will be your right thumb.
Very reliable sled. Have fun.