We claim the ornamental design for a display screen or portion thereof with icon, as shown and described.
The FIGURE is a front view of a display screen or portion thereof with icon showing our new design.
The broken lines illustrating portions of the display screen or portion thereof with icon are for environmental purposes only and form no part of the claimed design. It should be appreciated that at least a portion of the display screen is shown inside the broken lines.