Where the fuel line connects to the fuel pump, there is an orange colored (well, on my bike it's orange) safety latch thingy that must be first slid out of the way.
Then, the fuel line connector has greenish colored thingies on either side of it that must be squeezed in order for the fuel line to then be able to slide off the fuel pump fitting.