Sloping the line just moves the problem to one end. That works for keeping liquid from pooling in a line like a crankcase breather though... If you run the crank vent out of an enclosure be sure to keep a constant slope so it can’t pool, block the flow and pressurize the engine. If you slope it up and use black iron pipe it will condense a lot of the oil vapour and return it to the engine so you use less oil. Not a good idea on a Nat gas or propane engine since you are also trying to purge a large amount water vapour through the crank vent.
The proper solution is running fuel lines on the ground and keeping the elevated horizontal section out of the top of the tank as short as possible.
Thanks !
Rgds, D.