Diesel has more BTU per gallon and requires more crude to make a gallon. Hence the parity or higher price.
In Europe you can buy a 318d that gets really good mileage. Look below.
Open Google, type in "n liters per 100 km to mpg" where n is the mileage spec
you will be pleasantly surprised, even though it's not EPA