plotting – Smooth ListLinePlot with missing elements in list

Consider the following list:


Plotting with ListLinePlot gives a smooth linear curve.

How can the list be plotted smoothly if it were


In matlab there is an option to replace any missing elements with NaN and the plot command ignores these entries.

Here ListLinePlot({{1, 1}, {2, 2}, {NaN, NaN}, {3, 3}}, PlotRange -> All) cut the plot before (or after) the NaN values.

How can the missing entries be ignored while keeping the list as it is (i.e, not removing {})