However, if we're talking about countries with coastlines, then Monaco is often considered to have the shortest coastline. It's only about 3.8 km (2.4 miles) long.
Keep in mind that coastline measurements can be tricky, and different sources might have slightly different figures.