According to 18.04 Bionic Beaver release notes:
For new installs, a swap file will be used by default instead of a swap partition.
Changes since 16.04
What will happen to the existing swap partition after the scheduled upgrade in July from my current Ubuntu 16.04 to Ubuntu 18.04? Will it still exist? If so, will it be used, or just take up dormant space?