How to retrieve contents of Stick Notes directly from file system?

Solution 1:

Rename the local system's StickyNotes.snt file, restore the one you want to look at into C:\Users\<UserName>\AppData\Roaming\Microsoft\Sticky Notes, look at at it in the local system, copy it, etc.

When you're done, copy the version you renamed back over top of the version you restored.

Solution 2:

You can open the SNT file in 7ZIP. There'll be one folder for each note, where there's always 3 files: 1, 0 and 3.

The "3" file contains your data.