vsintegration/src/FSharp.Editor/BlockComment/CommentUncommentService.fs (13 lines of code) (raw):
namespace Microsoft.VisualStudio.FSharp.Editor
open Microsoft.CodeAnalysis.Editor.Implementation.CommentSelection
open Microsoft.CodeAnalysis.Host.Mef
open System.Composition
[<Shared>]
[<ExportLanguageService(typeof<ICommentUncommentService>, FSharpConstants.FSharpLanguageName)>]
type CommentUncommentService() =
interface ICommentUncommentService with
member this.SingleLineCommentString = "//"
member this.SupportsBlockComment = true
member this.BlockCommentStartString = "(*"
member this.BlockCommentEndString = "*)"
member this.Format(document, _changes, _cancellationToken) = document