If you first plant the crops, you can then pave the farmland, but the crop will still be there.

As you can see here, there's wheat on my pavement and in my well.
Also, a pumpkin leaf is in my pavement as well.
Just a small bug, not much, but still kinda annoying though.